Skip to content

Get file location and driver

Request

Returns file Location and Driver.

Security
bearer
Headers
data-partition-idstringrequired

desired data partition id

Example:slb-osdu-prod-des-prod-testing
Bodyapplication/json
FileIDstring(FileID)^[\w,\s-]+(\.\w+)?$

Unique Identifier for the file

curl -i -X POST \
  https://as5.api.enterprisedata.slb.com/api/file/v2/getFileLocation \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'data-partition-id: slb-osdu-prod-des-prod-testing' \
  -d '{
    "FileID": "string"
  }'

Responses

File location

Bodyapplication/json
Driverstring(Driver)
Enum:"GCP""AWS"
Locationstring
Response
{ "Driver": "GCP", "Location": "string" }